package edu.cdnu.pojo;

/**
 * 课程--教师 对应关系表 的映射类
 * 
 * @author ASUS AsingZ
 */
public class CourseTeacherPojo {
	private Integer id;
	/**
	 * 教师id
	 */
	private Integer teacherId;
	/**
	 * 课程id
	 */
	private Integer courseId;
	
	public CourseTeacherPojo() {
		super();
	}
	/**
	 * 带id
	 * @param id
	 * @param teacherId
	 * @param courseId
	 */
	public CourseTeacherPojo(Integer id, Integer teacherId, Integer courseId) {
		super();
		this.id = id;
		this.teacherId = teacherId;
		this.courseId = courseId;
	}
	/**
	 * 不带id
	 * @param teacherId
	 * @param courseId
	 */
	public CourseTeacherPojo(Integer teacherId, Integer courseId) {
		super();
		this.teacherId = teacherId;
		this.courseId = courseId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	public Integer getCourseId() {
		return courseId;
	}
	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}
	
	@Override
	public String toString() {
		return "CourseTeacherPojo [id=" + id + ", teacherId=" + teacherId + ", courseId=" + courseId + "]";
	}
}
